package cn.micro.system.manage.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 订单详情表
 * </p>
 *
 * @author wr
 * @since 2024-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OrderOdsDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单详情ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 产品ID
     */
    private Long productId;

    /**
     * 产品版本ID
     */
    private Long productVersionId;

    /**
     * 订单号
     */
    private String orderId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    public static final String ID = "id";

    public static final String PRODUCT_ID = "product_id";

    public static final String PRODUCT_VERSION_ID = "product_version_id";

    public static final String ORDER_ID = "order_id";

    public static final String CREATE_TIME = "create_time";

}
